package com.example.isoftservice.service;

import com.example.isoftservice.pojos.Store;
import org.apache.logging.log4j.spi.ObjectThreadContextMap;

import java.util.List;
import java.util.Map;

/**
 * ClassNmae:StoreService
 * Descriptiopn:
 *
 * @Create 2023/11/1 15:28
 * @Author yidao
 */
public interface StoreService {
    //查询仓库信息
    Map<String,Object> searchStoreInfo(Store store);

    //查询仓库id
    List searchStoreId();

    //查询产品信息
    Map<String,Object> searchProductInfo();

    //查询地址信息
    Map<String,Object> searchAddressInfo();

    //删除仓库信息
    Map<String,Object> removeStoreById(Store store);

    //添加仓库信息
    Map<String,Object> addStoreInfo(Store store);

    //更新仓库信息
    Map<String,Object> modifyStoreInfo(Store store);

    //添加产品信息
    Map<String,Object> addProductInfo(Store store);

    //修改产品数量
    Map<String,Object> modifyProductNumber(Store store);

    //查询仓库是否存储满的数量
    Map<String,Object> searchStoreNumber();


}
